package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 活链接方案
 */
@Getter
@Setter
@Document(collection = "huo_linker_info")
public class HuoLinkerInfo extends EntityBase {
    //    @Indexed
    private String key;
    private String url;
    @Indexed
    private String activityId;
    @Indexed
    private String userId;
    /**
     * 业务类型,H:海报,A:活动,P:收款,C:竞赛,J:金数据
     */
    @Indexed
    private String bizType;

    private String desc;
    /**
     * 域名
     */
    private String domain;
    /**
     * 域名
     */
    private String domainNew;
    /**
     * 当前目录
     */
    private String catalogue = "/h5/";
    /**
     * 目录黑名单
     */
    private String blackListCatalogue = "/m20024/";
    /**
     * 生成的平台
     */
    private String platform = "wechat-h5";
    /**
     * 活动类型
     * before:之前活动类型,contest-plus:竞赛类,h5-plus:h5新版,qq-mini-plus:小程序活动plus
     */
    private String activityType = "before";
    /**
     * 版本,V1:老版本,V2:新版本
     */
    private String version = "V1";
}
